Skip to content

Refactor API models, enhance feature flag integration, and update README#1

Merged
cosmic-flood merged 8 commits into
mainfrom
reset
Mar 16, 2026
Merged

Refactor API models, enhance feature flag integration, and update README#1
cosmic-flood merged 8 commits into
mainfrom
reset

Conversation

@cosmic-flood

Copy link
Copy Markdown
Contributor

This pull request introduces significant improvements to the FeatBit agent skills documentation and project structure, focusing on clarity, best practices, and skill authoring guidance. It adds comprehensive best-practice documentation for skill builders, replaces the generic skill description for feature flags with a more focused and actionable skill, and removes redundant or duplicate scripts. Additionally, it removes an unnecessary commit message instruction file.

Documentation and Authoring Best Practices:

  • Added a detailed best-practice guide for skill builders in .github/prompts/skill-builder-best-practice.prompt.md, covering project structure, naming conventions, frontmatter requirements, writing style, workflow formatting, reference file management, versioning, and release processes. This guide ensures all contributors follow consistent and high-quality standards when authoring or updating skills.

Skill Content and Structure Updates:

  • Replaced the generic featbit-skills skill (.github/skills/featbit/SKILL.md) with a new, focused featureflags skill (.agents/skills/featureflags/SKILL.md). The new skill provides step-by-step guidance for integrating feature flags into FeatBit MCP Server tools and code paths, including clear instructions on when and how to use feature flags, best practices, and code examples for both tool gating and conditional logic. [1] [2]

Code and Script Cleanup:

  • Removed duplicate or redundant scripts for listing feature flags and enabling/disabling feature flags (.github/skills/featbit/list-feature-flags/script.js, .github/skills/featbit/enable-disable-feature-flag/script.js), likely because these are now covered by more maintainable or centralized documentation and workflows.

Project Hygiene:

  • Removed the outdated or unnecessary commit message instruction file .copilot-commit-message-instructions.md to avoid confusion and enforce the new commit message standards described in the best-practice documentation.

…ement

- Updated launch configuration to include pre-launch task for killing existing AppHost processes.
- Modified MCP Server launch settings to use .dll instead of .exe and added environment variables for ASP.NET Core.
- Added a new task to kill running AppHost and MCP Server processes.
- Expanded AGENTS.md to include project structure, code rules, and feature flag management guidelines.
- Introduced new feature flag for targeting users in FeatureFlag.cs.
- Removed outdated CONFIGURATION.md and EXAMPLES.md files.
- Added FeatBitApiClient methods for POST requests and integrated new feature flag tools.
- Updated Program.cs to initialize FeatBit SDK and register session context.
- Created McpToolFlagGateAttribute and related extensions to manage tool visibility based on feature flags.
- Implemented McpSessionContext for session management in the MCP server.
@cosmic-flood cosmic-flood merged commit c92d428 into main Mar 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant